#include "../sys/pid.h"

#if defined(_WIN32)

extern uint32_t  __stdcall GetCurrentProcessId(void);

uint32_t mds_get_pid()
{
	return GetCurrentProcessId();
}

#else

#include <unistd.h>

uint32_t mds_get_pid() 
{
	return (uint32_t) getpid();
}

#endif
